package com.hskn.hss.module.oilDevice.to;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hskn.hss.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * 加油汇总报表TO
 *
 * @author zcy
 * @date 2021/10/9 13:21
 */
@Data
@ApiModel(value = "加油汇总报表列表-TO", description = "加油汇总报表列表-TO")
public class AddOilSummaryTableTO extends BaseEntity implements Serializable {
    @ApiModelProperty(value = "车辆类型ID", name = "carTypeId", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private String carTypeId;
    @ApiModelProperty(value = "机构ID", name = "deptidforcarId", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private String deptidforcarId;
    @ApiModelProperty(value = "机构类型", name = "deptidforcarType", example = "项目")
    private String deptidforcarType;
    @ApiModelProperty(value = "是否每天1：是，0：否", name = "isEve", example = "1")
    private Integer isEve;
    @ApiModelProperty(value = "开始时间", name = "startTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date startTime;
    @ApiModelProperty(value = "结束时间", name = "endTime", example = "2021-09-22")
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date endTime;
    @ApiModelProperty(value = "页数", name = "page", example = "1")
    private Integer page;
    @ApiModelProperty(value = "页面大小", name = "size", example = "10")
    private Integer size;

    /**
     * 加油汇总导出用TO追加
     */
    @ApiModelProperty(value = "导出列表类型 1:机构,2:作业,3:车型", name = "oilType", example = "1")
    private Integer oilType;
    @ApiModelProperty(value = "车辆类型ID集合", name = "carTypeIds", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private List<String> carTypeIds;
    @ApiModelProperty(value = "机构ID集合", name = "deptidforcarIds", example = "02eb9c47bd9944c788b2f00407efbc3e")
    private List<String> deptidforcarIds;
    @ApiModelProperty(value = "作业类型集合", name = "deptidforcarTypes", example = "项目")
    private List<String> carcategoryNames;

}
